package com.liuxing.doctor.dto;

import com.liuxing.doctor.entity.Prescription;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.List;

/**
 * @author 行柳
 * 学习使用
 */
@XmlRootElement(name = "patientPrescriptions")
public class PatientPrescriptions {
    private List<Prescription> prescriptionList;
    @XmlElement(name="prescription")
    public List<Prescription> getPrescriptionList() {
        return prescriptionList;
    }
    public void setPrescriptionList(List<Prescription> prescriptionList) {
        this.prescriptionList = prescriptionList;
    }
}
